home *** CD-ROM | disk | FTP | other *** search
- Path: dawn.mmm.com!news
- From: cjsonnack@mmm.com (Chris Sonnack)
- Newsgroups: comp.lang.c,comp.unix.programmer
- Subject: Re: Q: '\n' character
- Followup-To: comp.lang.c,comp.unix.programmer
- Date: 15 Apr 1996 14:54:22 -0500
- Organization: 3M/IT/EIS (St.Paul,MN 55144)
- Message-ID: <4ku9he$5ee@dawn.mmm.com>
- References: <4kj66f$k0o@ren.cei.net> <1996Apr11.192937.25676@sq.com> <829396473snz@genesis.demon.co.uk> <4kpd2g$eeb@masala.cc.uh.edu> <1996Apr14.014133.22865@sq.com>
- Reply-To: cjsonnack@mmm.com (Chris Sonnack)
- X-Newsreader: TIN [version 1.2 PL2]
-
- Mark Brader (msb@sq.com) wrote:
-
- >>>> if (ptr) *ptr = '\0';
- >>
- >> Ok, I've got a question at this point. Is it really proper to say
- >> if (ptr)?
- >
- > Yes. Please reread the comp.lang.c FAQ list.
-
- I just finished a Java class give by Sun (WARNING: AVOID THIS CLASS, IT
- WAS -- BY FAR -- ONE OF THE WORST TECHNICAL EDUCATION EXPERIENCES OF MY
- LIFE!!!). Java has (go figure) eliminated the above ability. The if()
- (and the loops) MUST HAVE a boolean value there, NOT a zero/non-zero.
-
- In Java, you MUST write: if (x != 0) { /** do stuff **/ }
-
- After being excited about it and giving it much thought, I've decided
- I can do without Java...but that's another newsgroup....
-
- --
- Chris Sonnack <cjsonnack@mmm.com> http://eishcq.mmm.com
- Engineering Information Services/Information Technology/3M, St.Paul, Minn
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- "It ain't no sin to be glad you're alive."
-
- Opinions expressed herein are my own and may not represent those of my employer.
-